﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CompanySyncProject
{
    public abstract class BaseRun
    {
        public SAPbobsCOM.Company oCompany;
        public System.IO.StreamWriter logtrace;

        public BaseRun(SAPbobsCOM.Company cmp, System.IO.StreamWriter log)
        {
            oCompany = cmp;
            logtrace = log;
        }

        public void logTrace(string inputStr)
        {
            {
                logtrace.WriteLine(inputStr);
                logtrace.Flush();
            }
        }

        public abstract void Run();

    }
}
